<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>个人空间</title>
<script src="http://cdn.static.runoob.com/libs/jquery/1.10.2/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="/CdutPostBar/css/userspaces_display.css">
<link rel="stylesheet" type="text/css" href="/CdutPostBar/css/imagestyle.css">
</head>
<body>
<div class="topdiv"><img class="toptitle" src="/CdutPostBar/image/zhuyetop.png" alt="标题"></img></div>
<div class="center">
<div class="leftdiv">
<ul>
<li><a id="userInfobtn" href="#home">基础信息</a></li>
<li><a id="userTitlebtn" href="#home">我的专题</a></li>
<li><a id="userSourcebtn" href="#home">我的资料</a></li>
<li><a id="userNewsbtn" href="#home">我的咨讯</a></li>
<li><a id="userMessagebtn" href="#home">我的消息</a></li>
</ul>
</div>
<div class="centerdiv">
<iframe id="mainIframe" src="../pages/toUserInfoPage.action"></iframe>
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){
	$("#userInfobtn").click(function(){
		$("#mainIframe").attr("src","../pages/toUserInfoPage.action");
	});
	$("#userTitlebtn").click(function(){
		$("#mainIframe").attr("src","../post/findAllUserPost.action");
	});
	$("#userSourcebtn").click(function(){
		$("#mainIframe").attr("src","../known/findMyToolList.action");
	});
	$("#userNewsbtn").click(function(){
		$("#mainIframe").attr("src","../news/fingNewsByAuthorId.action");
	});
	$("#userMessagebtn").click(function(){
		$("#mainIframe").attr("src","../pages/toMyMessagePage.action");
	});
});
</script>
</body>
</html>